package com.learn.core.domain.view;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.Date;

/**
 * Description
 *
 * @author zhaohongyu
 * @ClassName CompetitionUser
 * @date 2021.07.19 08:51
 */
@TableName("competition_user")
@JsonInclude(JsonInclude.Include.NON_NULL)
@ApiModel(value="CompetitionUser对象", description="VIEW")
public class CompetitionUser implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableField("competition_id")
    private Integer competitionId;

    @TableField("competition_name")
    private String competitionName;

    @TableField("competition_sort")
    private Integer competitionSort;

    @TableField("competition_cover")
    private String competitionCover;

    @TableField("competition_explain")
    private String competitionExplain;

    @TableField("competition_frequency")
    private String competitionFrequency;

    @TableField("release_time")
    private Date releaseTime;

    @TableField("release_state")
    private String releaseState;

    @TableField("timing_start_time")
    private Date timingStartTime;

    @TableField("timing_end_time")
    private Date timingEndTime;

    @TableField("competition_state")
    private String competitionState;

    @TableField("user_id")
    private Integer userId;

    @TableField("competition_user_id")
    private Integer competitionUserId;

    @TableField("competition_user_time")
    private Date competitionUserTime;

    @TableField("user_ip")
    private String userIp;

    @TableField("user_score")
    private String userScore;

    @TableField("paper_state")
    private String paperState;

    @TableField(exist = false)
    private String userName;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getPaperState() {
        return paperState;
    }

    public void setPaperState(String paperState) {
        this.paperState = paperState;
    }

    public Integer getCompetitionUserId() {
        return competitionUserId;
    }

    public void setCompetitionUserId(Integer competitionUserId) {
        this.competitionUserId = competitionUserId;
    }

    public Date getReleaseTime() {
        return releaseTime;
    }

    public void setReleaseTime(Date releaseTime) {
        this.releaseTime = releaseTime;
    }

    public String getReleaseState() {
        return releaseState;
    }

    public void setReleaseState(String releaseState) {
        this.releaseState = releaseState;
    }

    public Integer getCompetitionId() {
        return competitionId;
    }

    public void setCompetitionId(Integer competitionId) {
        this.competitionId = competitionId;
    }

    public String getCompetitionName() {
        return competitionName;
    }

    public void setCompetitionName(String competitionName) {
        this.competitionName = competitionName;
    }

    public Integer getCompetitionSort() {
        return competitionSort;
    }

    public void setCompetitionSort(Integer competitionSort) {
        this.competitionSort = competitionSort;
    }

    public String getCompetitionCover() {
        return competitionCover;
    }

    public void setCompetitionCover(String competitionCover) {
        this.competitionCover = competitionCover;
    }

    public String getCompetitionExplain() {
        return competitionExplain;
    }

    public void setCompetitionExplain(String competitionExplain) {
        this.competitionExplain = competitionExplain;
    }

    public String getCompetitionFrequency() {
        return competitionFrequency;
    }

    public void setCompetitionFrequency(String competitionFrequency) {
        this.competitionFrequency = competitionFrequency;
    }

    public Date getTimingStartTime() {
        return timingStartTime;
    }

    public void setTimingStartTime(Date timingStartTime) {
        this.timingStartTime = timingStartTime;
    }

    public Date getTimingEndTime() {
        return timingEndTime;
    }

    public void setTimingEndTime(Date timingEndTime) {
        this.timingEndTime = timingEndTime;
    }

    public String getCompetitionState() {
        return competitionState;
    }

    public void setCompetitionState(String competitionState) {
        this.competitionState = competitionState;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Date getCompetitionUserTime() {
        return competitionUserTime;
    }

    public void setCompetitionUserTime(Date competitionUserTime) {
        this.competitionUserTime = competitionUserTime;
    }

    public String getUserIp() {
        return userIp;
    }

    public void setUserIp(String userIp) {
        this.userIp = userIp;
    }

    public String getUserScore() {
        return userScore;
    }

    public void setUserScore(String userScore) {
        this.userScore = userScore;
    }
}
